import { http } from '@/utils/request';
import { IResponse } from './types';
//上传文件
export const uploadFile = (data: any) => {
    return http.post<IResponse>('/sys/upload', data, { headers: { 'Content-Type': 'multipart/form-data' } })
}